#FROM java:8
FROM openjdk:8-jdk-alpine
ARG JAR_FILE
COPY ${JAR_FILE} app.jar
COPY ./resource/jwt.jks /app/data/jwt.jks
EXPOSE 9001
ENTRYPOINT ["java","-jar","-Xms128m","-Xmx512m","/app.jar"]
CMD ["--spring.profiles.active=prod", "--nacos.server-addr=192.168.88.7:8848,192.168.88.8:8848,192.168.88.9:8848"]
